package com.shuimuzhen.SecondhandMotorManagementSystem.pojo.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Motorcycle {
    //primary key
    private long id;
    //essential data
    /**
     *     ADV,
     *     仿赛,
     *     街车,
     *     拉力,
     *     巡航,
     *     旅行,
     *     越野,
     *     踏板;
     */
    private String model; // 车型
    private String brand; // 品牌
    private String name; // 型号名称
    private int productionYear; // 生产年份
    private double price;//参考价格
    //dimension data
    private double seatHeight; // 座高
    private double weight; // 车重
    private double maxLoad; // 最大载重量
    //engine data
    private int displacement; // 排量
    private int cylinderCount; // 气缸数
    private double maxPower; // 最大功率
    private double maxTorque; // 最大扭矩
    private int redline; // 最高转速
    //racing data
    private double topSpeed; // 最高车速
    private double acceleration0To100; // 0-100km/h加速时间
    private double brakingDistance; // 制动距离
    private double fuelConsumption; // 燃油消耗量
    //control data
    private String transmissionType; // 变速器类型
    private List<String> brakingSystem; // 制动系统
    private List<String> electricControl;//电控系统
    //look data
    private List<String> color; // 颜色
    private List<String> PhotoUrl;//图片
    private List<String> VideoUrl;//视频

    @Override
    public String toString() {
        return "Motorcycle{" +
                "id=" + id +
                ", model='" + model + '\'' +
                ", brand='" + brand + '\'' +
                ", name='" + name + '\'' +
                ", productionYear=" + productionYear +
                ", price=" + price +
                ", seatHeight=" + seatHeight +
                ", weight=" + weight +
                ", maxLoad=" + maxLoad +
                ", displacement=" + displacement +
                ", cylinderCount=" + cylinderCount +
                ", maxPower=" + maxPower +
                ", maxTorque=" + maxTorque +
                ", redline=" + redline +
                ", topSpeed=" + topSpeed +
                ", acceleration0To100=" + acceleration0To100 +
                ", brakingDistance=" + brakingDistance +
                ", fuelConsumption=" + fuelConsumption +
                ", transmissionType='" + transmissionType + '\'' +
                ", brakingSystem=" + brakingSystem +
                ", electricControl=" + electricControl +
                ", color=" + color +
                ", PhotoUrl=" + PhotoUrl +
                ", VideoUrl=" + VideoUrl +
                '}';
    }







}
